package com.zuo.mall.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.github.pagehelper.PageHelper;
import com.zuo.mall.entity.UmsResource;
import com.zuo.mall.mapper.UmsResourceMapper;
import com.zuo.mall.service.UmsResourceService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 后台资源表 服务实现类
 * </p>
 *
 * @author zuo
 * @since 2023-10-21
 */
@Service
public class UmsResourceServiceImpl extends ServiceImpl<UmsResourceMapper, UmsResource> implements UmsResourceService {


    @Override
    public List<UmsResource> listAll() {
        LambdaQueryWrapper<UmsResource> queryWrapper = new LambdaQueryWrapper<>();
        List<UmsResource> umsResources = baseMapper.selectList(null);
        return umsResources;
    }
}
